package com.xinghou.platform.service.main.impl;

import com.xinghou.platform.dao.main.BackGroundDAO;
import com.xinghou.platform.model.main.BackGroundUser;
import com.xinghou.platform.server.api.service.BackGroundService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by liufangyu on 2016/7/29.
 */
@Service("BackGroundService")
public class BackGroundServiceImpl implements BackGroundService{
    @Resource
    private BackGroundDAO backGroundDAO;

    @Override
    public BackGroundUser login(BackGroundUser user){
        return backGroundDAO.login(user);
    }
}
